window.onload = function() {
			
			/**
			 * 性别回显
			 */
			var genderItems = document.getElementsByName('gender');
			for (var i = 0; i < genderItems.length; i++) {
				if (gender == genderItems[i].value) {
					genderItems[i].checked = true;
					break;
				}
			}
			
			/**
			 * 爱好回显 
			 */
			var hobbies = hobby.split('|');
			var hobbyItems = document.getElementsByName('hobby');
			for (var i = 0; i < hobbies.length; i++) {
				for (var j = 0; j < hobbyItems.length; j++) {
					if (hobbies[i] == hobbyItems[j].value) {
						hobbyItems[j].checked = true;
						break;
					}
				}
			}
		}